<script setup lang="ts">
import { h, render, onMounted } from 'vue'
const VNode = h('h2', { class: 'myh2', id: 'myh2' }, '我是一个h2')
console.log(VNode)
onMounted(() => {
  const dom = document.getElementById('playground')
  render(VNode, dom!)
})
</script>
<template>
  <div id="playground"></div>
</template>
<style></style>
